package com.evil.mi.service;

import com.evil.mi.entity.PageEntity;
import com.evil.mi.entity.VideoEntity;
import com.evil.mi.enums.VideoStateEnum;

/**
 * com.evil.mi.service
 *
 * @author 白雨浓
 * date: 2018/8/20 15:13
 * content:
 */
public interface VideoService {

    PageEntity<VideoEntity> findVideoPage(int current, int size);

    PageEntity<VideoEntity> findVideoAlternativePage(int current, int size);

    VideoEntity findVideoById(int id);

    int saveVideo(VideoEntity entity);

    void modifyVideoState(int id, VideoStateEnum state);

    void alternativeVideo(int id, boolean option);

    void removeVideo(int id);
}
